package com.punai.dataclean.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.punai.dataclean.domain.IncomeDataClean;
import com.punai.dataclean.domain.vo.CostDataCleanVo;
import com.punai.dataclean.domain.vo.IncomeDataCleanVo;
import org.apache.ibatis.annotations.Param;

import java.util.Collection;
import java.util.List;

public interface IncomeDataCleanMapper extends BaseMapper<IncomeDataClean> {
    List<IncomeDataCleanVo> getGroupTableDataOfFBQD(@Param("incomeDataCleanVo") IncomeDataCleanVo vo,
                                                    @Param("inventoryCodes") Collection<String> inventoryCodes,
                                                    @Param("priceTypes") Collection<String> priceTypes);

    Integer countGroupTableDataOfFBQD(@Param("incomeDataCleanVo") IncomeDataCleanVo vo,
                                                    @Param("inventoryCodes") Collection<String> inventoryCodes,
                                                    @Param("priceTypes") Collection<String> priceTypes);

    List<IncomeDataCleanVo> getGroupTableDataOfCSQD(@Param("incomeDataCleanVo") IncomeDataCleanVo vo,
                                                    @Param("priceTypes") Collection<String> priceTypes);

    Integer countGroupTableDataOfCSQD(@Param("incomeDataCleanVo") IncomeDataCleanVo vo,
                                      @Param("priceTypes") Collection<String> priceTypes);

    List<IncomeDataCleanVo> selectDetailTableDataOfFBQD(@Param("incomeDataCleanVo") IncomeDataCleanVo vo,
                                                @Param("priceTypes") Collection<String> priceTypes);

    List<IncomeDataCleanVo> selectDetailTableDataOfCSQD(@Param("incomeDataCleanVo") IncomeDataCleanVo vo,
                                                        @Param("priceTypes") Collection<String> priceTypes);
}
